package com.example.service;

import com.example.entity.FacilityPublic;
import com.example.entity.Page.PageRequest;
import com.example.result.CommonResult;

/**
 * @author: tobed
 * @date: 2022/11/14
 * @time: 9:02
 */
public interface FacilityPublicService {

    /*公共设备全查*/
    CommonResult list(FacilityPublic facilityPublic, PageRequest pageRequest);

    /*添加公共设备*/
    CommonResult createFacility(FacilityPublic facilityPublic);

    /*修改公共设备信息*/
    CommonResult update(FacilityPublic facilityPublic);

    /*删除设备*/
    CommonResult remove(Integer id);
}
